" for lua
" 设置lua自有的配色
au BufRead,BufNewFile *.lua colorscheme xoria256
" auto add file header
autocmd BufNewFile *.lua :0r $VIM_PATH/templates/luaTmp.txt
autocmd BufNewFile *.lua ks|call FileName()|'s
autocmd BufNewFile *.lua ks|call Version()|'s
autocmd BufNewFile *.lua ks|call CreatedTime()|'s
autocmd FileWritePre,BufWritePre *.lua ks|call ModifyTime()|'s
autocmd BufNewFile *.lua ks|call Author()|'s
autocmd BufNewFile *.lua ks|call Copyright()|'s
autocmd BufNewFile *.lua ks|call Description()|'s
autocmd BufNewFile *.lua normal 10G$vb
autocmd FileWritePre,BufWritePre *.lua 0,10g/Version/norm! $

" end auto add file header
